package com.yatube.yygh.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Created with IDEA
 * @description --
 * @date 2024-04-23 11:40
 */
@EnableDiscoveryClient
@MapperScan("com.yatube.yygh.admin.mapper")
@ComponentScan("com.yatube")
@SpringBootApplication
public class AdminRun {

    public static void main(String[] args){
        SpringApplication.run(AdminRun.class, args);
        System.out.println("Hello Admin Run");
    }

}
